<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>date</title>
		<script>
			var d=new Date();
			//alert(Date.now());
			alert(d);
			alert("nian:"+d.getFullYear());
			alert("月:"+d.getMonth());
			alert("天:"+d.getDate());
			alert("星期:"+d.getDay());
			alert("本地格式:"+d.toLocaleString());
			alert("标准时间:"+d.toUTCString());
		</script>
	</head>
	<body>
	</body>
</html>